/**
 * 
 */
package com.gopay.common.user.payee.manager.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.domain.cps.CpsTransReceiver00700;
import com.gopay.common.user.payee.dao.CpsTransReceiver00700QueryDAO;
import com.gopay.common.user.payee.manager.CpsTransReceiver00700QueryManager;

/**
 * @CpsTransReceiver00700QueryManagerImpl.java
 * @author xiefei
 * @2013-3-11 下午2:18:09  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("cpsTransReceiver00700QueryManager")
public class CpsTransReceiver00700QueryManagerImpl implements CpsTransReceiver00700QueryManager {

    
    @Resource(name="cpsTransReceiver00700QueryDAO")
    private CpsTransReceiver00700QueryDAO cpsTR00700QueryDAO;
    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#get(java.io.Serializable)
     */
    @Override
    public CpsTransReceiver00700 get(Integer id) {
        // TODO Auto-generated method stub
        return cpsTR00700QueryDAO.find(CpsTransReceiver00700.class, new Long(id));
    }

    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#get(java.util.Map)
     */
    @Override
    public List<CpsTransReceiver00700> get(Map<Object, Object> paraMap) {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#getAll()
     */
    @Override
    public List<CpsTransReceiver00700> getAll() {
        // TODO Auto-generated method stub
        return cpsTR00700QueryDAO.findAll(CpsTransReceiver00700.class);
    }

    /* (non-Javadoc)
     * @see com.gopay.common.cps.manager.tran.CpsTransReceiver00700QueryManager#findByCustIdPageList(java.lang.String, java.lang.String, int, int)
     */
    @Override
    public List<CpsTransReceiver00700> findByCustIdPageList(String custId, String custType, int pageSize, int pageNo,String rAcctName, String rAcctNum) {
        // TODO Auto-generated method stub
        return cpsTR00700QueryDAO.findByCustIdPageList(custId, custType, pageSize, pageNo, rAcctName, rAcctNum);
                
    }

    /* (non-Javadoc)
     * @see com.gopay.common.cps.manager.tran.CpsTransReceiver00700QueryManager#findByCustIdCount(java.lang.String, java.lang.String)
     */
    @Override
    public int findByCustIdCount(String custId, String custType,String rAcctName, String rAcctNum) {
        // TODO Auto-generated method stub
        return cpsTR00700QueryDAO.findByCustIdCount(custId, custType, rAcctName, rAcctNum);
    }

}
